package in.muton.edushare.pages.publicpages.univpages;

import in.muton.edushare.processing.objects.UnivDataHandler;
import in.muton.edushare.wicket.models.CayenneList;
import in.muton.panels.paginator.EdushareListView;

import org.apache.wicket.PageParameters;
import org.apache.wicket.markup.html.panel.EmptyPanel;

import com.edushare.common.vo.Departments;

public class UnivPublicDept extends UnivBasePublic {

	public UnivPublicDept(PageParameters params) {
		super(params);
		CayenneList<Departments> deptList = new UnivDataHandler(getUnivModel())
				.getOwnDept();
		add(new EdushareListView<Departments>("deptPubBadgeList", deptList,
				EdushareListView.WIDE));
	}

	@Override
	public String getPageName(PageParameters params) {
		return "univPublicDept";
	}
}
